

<div class="block js_sortable">

<div class="title js_sortable_header">
	<a href="{url link='topcmmchat.chatroom'}">Chat Room</a>
</div>

<div class="content">


		<div >
			{if $aSettings.fc_extendserver!=2}Total rooms: {$status.rn};{/if}
			{if $aSettings.fc_extendserver!=2}Total connections: {$status.cn};{/if}
			Login users: {$status.ln}
		</div>

	{if $aSettings.fc_room_list==1 && $aSettings.fc_extendserver!=2}
		<br/>
		Chat Rooms:<br/>
		<ul class="action">
			{foreach from=$rooms key=name item=room}
				<li><a href="{url link='topcmmchat.chatroom' id=$room.id}" title="123flashchat" >{$room.name}:({$room.count})</a></li>
			{/foreach}
		</ul>
	{/if}

	{if $aSettings.fc_user_list==1}
	<div class="table">
	<br/>
		User List:

		{if $users == null}
			none
		{else}
			{foreach from=$users item=user}
				{foreach from=$user item=userone}
					{$userone.name};
				{/foreach}
			{/foreach}
		{/if}
	</div>
	{/if}


	<br/>

	<div style="float: left">
		<a href="{url link='topcmmchat.chatroom'}">Chat Now!</a>
	</div>
	<br/>


</div>

</div>